- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.6k
[dotnet] [bidi] Get tree command returns GetTreeResult object #15978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| PR Reviewer Guide 🔍Here are some key observations to aid the review process: 
 | 
| PR Code Suggestions ✨Explore these optional code suggestions: 
 | ||||||||||||
| Thanks Nick | 
User description
💥 What does this PR do?
Be more closer to low-level specification.
🔧 Implementation Notes
User is still able to use previous code, like
And additionally:
In general we reveal nested Enumerable property of
Enumerable Resultto support more properties in future.💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Refactor BiDi result objects to expose nested properties
Make
GetTreeResultimplementIReadOnlyList<BrowsingContextInfo>Add
Contextsproperty toGetTreeResultfor better API accessUpdate multiple result classes to use public properties instead of private fields
Changes diagram
Changes walkthrough 📝
8 files
Refactor GetTreeResult to implement IReadOnlyListUpdate GetTreeAsync return typeUpdate GetTreeAsync method signatureAdd JSON converter for GetTreeResultExpose ClientWindows as public propertyExpose UserContexts as public propertyExpose Nodes as public propertyExpose Cookies as public property1 files
Register GetTreeResultConverter